package com.smfx.yxt.service;

import java.util.List;

import com.smfx.yxt.model.VisitorAppointment;
import com.smfx.yxt.page.Page;
import com.smfx.yxt.view.VisitorAppointmentView;

public interface IVisitorAppointmentService {

	int insertSelective(VisitorAppointment record);

    VisitorAppointment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VisitorAppointment record);

    List<VisitorAppointmentView> selectListByPage(Page<VisitorAppointmentView> page);
    
    VisitorAppointmentView selectViewById(Integer id);
    
    VisitorAppointmentView selectCurrentVisited(Integer relId);
    
}
